public class Student {
    private String name;
    private String age;
    public static String classRoom;

    {
        this.name="dzj";
        System.out.println("hhhh");
        System.out.println("hhhh");
        System.out.println("hhhh");
        System.out.println("hhhh");
    }
    static{
        classRoom="102";
        System.out.println("静态代码块");
    }
    public static String  getclassRoom(Student stu){
        System.out.println(stu.name);
        return classRoom;
    }
    public void eat(){
        System.out.println(this.name+"吃饭");
    }
}
